#include <pthread.h>

int pthread_create(pthread_t *thread, const pthread_attr_t *attr,
                   void *(*start_routine)(void *), void *arg);

int pthread_join(pthread_t thread, void **retval);

void pthread_exit(void *retval);

int pthread_detach(pthread_t thread);

// RETURN VALUE
//        On success, pthread_create() returns 0; on error, it returns an error number,  and  the  con‐
//        tents of *thread are undefined.
